import { createApp } from 'vue'
import App from './App.vue'
import MateChat from '@matechat/core'
import { Button, Card, Avatar, Tag } from 'vue-devui'
import '@devui-design/icons/icomoon/devui-icon.css'
import 'vue-devui/button/style.css'
import 'vue-devui/card/style.css'
import 'vue-devui/avatar/style.css'
import 'vue-devui/tag/style.css'
import './styles/index.css'

const app = createApp(App)

// 注册MateChat和DevUI组件
app.use(MateChat)
app.use(Button)
app.use(Card)
app.use(Avatar)
app.use(Tag)

app.mount('#app')